#ifndef __CPPTUTORSTACKUSINGARRAY_H__
#define __CPPTUTORSTACKUSINGARRAY_H__

class CcppTutorStackUsingArray
{
    private:
        int top;
        int capacity;
        int *storage;
    public:
        CcppTutorStackUsingArray ();
        CcppTutorStackUsingArray (int);
       ~CcppTutorStackUsingArray ();

        //stack operation
        bool isEmpty ();    // checl the stack is empty or not
        int peek();         // top operation, examoine whithout actually removing the top item is

        int Push (int);
        int Pop ();

        int DisplayStack ();
        void StackMenu ();
};

#endif //__CPPTUTORSTACKUSINGARRAY_H__



